<?php echo $this->Form->create('User', array('class'=> 'form-horizontal', 'inputDefaults'=> array('label'=> false, 'div'=> false)))?>
	<div class="row-fluid">
		<div class="control-group">
			<label class="control-label" for="UserGroup"><?php echo __('Nhóm') ?></label>
			<div class="controls">
				<?php echo $this->Form->select('group', Configure::read('userGroup'))?>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="UserUsername"><?php echo __('Tên đăng nhập') ?></label>
			<div class="controls">
				<?php echo $this->Form->input('username', array('placeholder'=> __('Tên đăng nhập')))?>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="UserPasswd"><?php echo __('Mật khẩu') ?></label>
			<div class="controls">
				<?php echo $this->Form->input('passwd', array('type' => 'password', 'placeholder'=> __('Mật khẩu'))) ?>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="UserPasswdConfirm"><?php echo __('Nhập lại mật khẩu') ?></label>
			<div class="controls">
				<?php echo $this->Form->input('passwd_confirm', array('type' => 'password', 'placeholder'=> __('Nhập lại mật khẩu'))) ?>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="UserEmail"><?php echo __('Email') ?></label>
			<div class="controls">
				<?php echo $this->Form->input('email', array('type' => 'email', 'placeholder'=> __('Email'))) ?>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="UserEmailConfirm"><?php echo __('Nhập lại Email') ?></label>
			<div class="controls">
				<?php echo $this->Form->input('email_confirm', array('type' => 'email', 'placeholder'=> __('Nhập lại Email'))) ?>
			</div>
		</div>
	</div>
	<hr>
	<div class="control-group">
		<div class="controls">
			<div class="controls">
				<?php echo $this->Form->button('<i class="icon-save icon-white"></i> '.__('Tạo tài khoản'), array('class'=> 'btn btn-inverse', 'escape' => false))?>
				<?php echo $this->Html->link('Reset', array('controller'=> 'users', 'action'=> 'add'), array('class'=> 'btn'))?>
			</div>
		</div>
	</div>
<?php echo $this->Form->end() ?>
